//改设置
const path = require('path');
const shuJuKu = require(path.resolve('moKuai/shuJuKu.js'));

module.exports = async function gaiSheZhi(qingQiu, xiangYing, jieZhe) {
	if (qingQiu.path == '/gaiSheZhi') {
		await shuJuKu.gaiSheZhi(qingQiu.body).then(r =>{
			if (r[0] === 0) {
				xiangYing.send('修改失败')
			}else {
				xiangYing.send('修改成功')
			}
		})
	}else jieZhe();
}